(Ali-Imran) 3 : 81
وَإِذْ أَخَذَ اللَّهُ مِيثَاقَ النَّبِيِّينَ لَمَا آتَيْتُكُمْ مِنْ كِتَابٍ وَحِكْمَةٍ ثُمَّ جَاءَكُمْ رَسُولٌ مُصَدِّقٌ لِمَا مَعَكُمْ لَتُؤْمِنُنَّ بِهِ وَلَتَنْصُرُنَّهُ ۚ قَالَ أَأَقْرَرْتُمْ وَأَخَذْتُمْ عَلَىٰ ذَٰلِكُمْ إِصْرِي ۖ قَالُوا أَقْرَرْنَا ۚ قَالَ فَاشْهَدُوا وَأَنَا مَعَكُمْ مِنَ الشَّاهِدِينَ
And you remember when Lord Allah took the agreement from the Prophets: “When I give you from the Book and Wisdom, then a Messenger comes to you testifying what is with you, you should believe with him and should help him”. He asked: “Have you agreed and taken the obligation of mine?” They all said: “We have agreed”. He said: “Then all of you witness, and I am with you among the witnesses”.